//
//  DYServer.h
//  TestGizWits
//
//  Created by JM on 15/11/7.
//  Copyright © 2015年 JM. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Singletion.h"
#import <XPGWifiSDK/XPGWifiSDK.h>
static NSString * const DY_APP_ID = @"057c9e64980345ed92daf09181d7b646";//@"9b1d7b2125ab44f9937b75902a41ffc8";//app id
static NSString * const DY_PRODUCT       = @"90bdb39baebf4428bf61bf03f7eba441";//@"3cbd3150a44a4412a26915dacb56b082";
static NSString * const DY_appSecret       =@"d295e975e1ce41cdb7648319c743d086";//@"0490f411434b41b59849b667de4a2e8b";


@interface DYServer : NSObject<XPGWifiSDKDelegate>
singleton_interface(DYServer)
@property (nonatomic, assign)BOOL isRequesting;
@property (nonatomic, weak) id <XPGWifiDeviceDelegate>receiveDeviceDelegate;//唯一一直接受消息的对象
@property (nonatomic, weak) id <XPGWifiSDKDelegate>receiveDelegate;//唯一一直接受消息的对象
//接收的消息 配置设备上线
@property(nonatomic,strong)NSMutableArray *requestArray;

- (void)addRequest:(id)aRequset;

- (void)removeRequest:(id)aRequset;

@end
